package com.gitee.magic.jdbc.persistence;

import java.util.ArrayList;
import java.util.List;

/**
 * @author start
 */
public class EntityObject {
	
	/**
	 * 实体类名
	 */
	private String name;
	
	/**
	 * 表名
	 */
	private String tableName;
	
	/**
	 * 表主键
	 */
	private EntityPropertyStubPrimaryKey entityPropertyStubPrimaryKey;
	
	/**
	 * 表字段成员
	 */
	private List<EntityProperty> members=new ArrayList<EntityProperty>();
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}

	public String getTableName() {
		return tableName;
	}
	
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	
	public EntityPropertyStubPrimaryKey getEntityPropertyStubPrimaryKey() {
		return entityPropertyStubPrimaryKey;
	}

	public void setEntityPropertyStubPrimaryKey(EntityPropertyStubPrimaryKey entityPropertyStubPrimaryKey) {
		this.entityPropertyStubPrimaryKey = entityPropertyStubPrimaryKey;
	}

	public List<EntityProperty> getMembers() {
		return members;
	}
	
	public void setMembers(List<EntityProperty> members) {
		this.members = members;
	}
	
}
